<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <link th:href="@{/images/userLog1.png}"  sizes="90x90" type="image/x-icon" rel="icon">
    <link th:href="@{/frontstatic/css/iconfont.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/global.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/bootstrap-theme.min.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/swiper.min.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/styles.css}" rel="stylesheet">
    <script charset="utf-8" th:src="@{/lib/layui-v2.6.3/layui.js}"></script>
    <link media="all" rel="stylesheet" th:href="@{/lib/layui-v2.6.3/css/layui.css}">
    <script charset="utf-8" th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/bootstrap.min.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/swiper.min.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/global.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/jquery.DJMask.2.1.1.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/notify.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/notify_stand.js}"></script>
    <title>申请售后</title>
</head>
<body>
<!-- 顶部tab -->
<div th:replace="~{head::headdeg}"></div>
<!-- 顶部标题 -->
<div class="bgf5 clearfix">
    <div class="top-user">
        <div class="inner">
            <div class="title">个人中心</div>
        </div>
    </div>
</div>
<div class="content clearfix bgf5">
    <section class="user-center inner clearfix">
        <div class="pull-left bgf">
            <dl class="user-center__nav">
                <dt>帐户信息</dt>
                <a href="/skippage?url=udai_setting">
                    <dd>个人资料</dd>
                </a>
                <a href="/skippage?url=udai_address">
                    <dd>收货地址</dd>
                </a>
                <a href="/skippage?url=udai_pwd_modify">
                    <dd>修改登录密码</dd>
                </a>
            </dl>
            <dl class="user-center__nav">
                <dt>订单中心</dt>
                <a href="/skippage?url=udai_order">
                    <dd class="active">我的订单</dd>
                </a>
                <a href="udai_refund.html">
                    <dd>退款/退货</dd>
                </a>
            </dl>
        </div>
        <div class="pull-right">
            <div class="user-content__box clearfix bgf">
                <div class="title">我的订单-申请退款/退货</div>
                <div class="order-info__box">
                    <form action="/reterngood/save" method="post" class="user-addr__form form-horizontal">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">服务类型：</label>
                            <div class="col-sm-6">
                                <div class="user-form-group return_val c6">
                                    <label><input name="refund" checked type="radio" value="0"><i
                                            class="iconfont icon-radio"></i> 仅退款</label><br>
                                    <label><input name="refund" type="radio" value="1"><i
                                            class="iconfont icon-radio"></i> 退货退款</label>
                                    <input name="orderId" id="orderInput" style="display: none">
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">货物状态：</label>
                            <div class="col-sm-6">
                                <div class="user-form-group return_val c6">
                                    <label><input name="cargoStatus" checked type="radio" value="0" id="test"><i class="iconfont icon-radio"></i>
                                        未收到货</label><br>
                                    <label><input name="cargoStatus" type="radio" value="1"><i class="iconfont icon-radio"></i>
                                        已收到货</label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label" for="cause">退款原因：</label>
                            <div class="col-sm-10">
                                <select id="cause" name="reason">
                                    <option value="质量问题">质量问题</option>
                                    <option value="发错货物">发错货物</option>
                                    <option value="七天无理由退换">七天无理由退换</option>
                                    <option value="物流问题">物流问题</option>
                                    <option value="其他">其他</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label" for="note">退款说明：</label>
                            <div class="col-sm-6">
                                <textarea name="remarks" class="form-control" id="note" rows="3"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-3">
                                <button class="but" id="sumitBtn" type="submit">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </section>
</div>
</body>
<script>
    function getQueryString(name) {
        var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
        var r = window.location.search.substr(1).match(reg);
        if (r != null) {
            return unescape(r[2]);
        }
        return null;
    }
    var queryString = getQueryString("id");
    $("#orderInput").val(queryString)
</script>
</html>